package com.ebs.md.fxmonitor.marketmonitor.esper.listener;

import java.util.List;

import com.ebs.market.monitor.MarketMonitor.SpoofingBySizeEvent;
import com.ebs.md.fxmonitor.marketmonitor.alert.AbstractAlertMessageCreatorBySingleFact;
import com.ebs.md.fxmonitor.marketmonitor.alert.SpoofingBySizeMessageCreator;
import com.ebs.md.fxmonitor.marketmonitor.model.SpoofBySizeSingleFact;

public class SpoofingBySizeEsperListenerAndPublisher 
extends AbstractEsperListenerAndPublisher<SpoofingBySizeEvent, SpoofBySizeSingleFact>
{
	@Override
	protected AbstractAlertMessageCreatorBySingleFact<SpoofingBySizeEvent, SpoofBySizeSingleFact> 
	            getCreator( List<SpoofBySizeSingleFact> dataItems) {
		return new SpoofingBySizeMessageCreator(dataItems);
	}

}